
#ifndef CRC_H
#define CRC_H

#include <stdint.h>
uint32_t CRC32(uint8_t *data, uint16_t len, uint32_t init);
uint32_t CRC32_reverse(uint8_t *data, uint16_t len, uint32_t init);
uint8_t CRC8(uint8_t *data, uint16_t len, uint8_t init);
uint8_t CRC8_reverse(uint8_t *data, uint16_t len, uint8_t init);
uint16_t CRC16(uint8_t *data, uint16_t len, uint16_t init);
uint16_t CRC16_reverse(uint8_t *data, uint16_t len, uint16_t init);



 #endif // CRC_H




